<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>错题纠错平台</title>
    <link rel="stylesheet" href="//unpkg.com/layui@2.6.8/dist/css/layui.css">

</head>
<body>
<h1>错题纠错平台</h1><a href="{:url('login/loginOut')}">切换用户</a>/////<a href="{:url('create')}">申请填写</a>
<div class="layui-form">
    <table class="layui-table">
        <colgroup>
            <col width="150">
            <col width="150">
            <col width="200">
            <col>
        </colgroup>
        <thead>
        <tr>
            <th>登录身份:<span style="color:red;">{$res.rolename}-{$username.truename}</span></th>
            <th>审核状态</th>

        </tr>
        </thead>

        <tbody>
        {foreach $data as $v}
        <tr>
            <td><img src="{$v.images}" width="100px"/></td>
            <td>
                {if $v.status == 0}
                <span>审核中</span>
                {else}
                <span>已经通过</span>

                {/if}
            </td>

        </tr>
        {/foreach}
        </tbody>

    </table>
</div>

</body>
</html>
<script src="//unpkg.com/layui@2.6.8/dist/layui.js"></script>